package services;

import java.util.List;

import homes.BrandDTOHome;
import homes.StockableHome;
import items.BrandDTO;
import items.Stockable;

@SuppressWarnings("serial")
public class StockableService extends GenericService<Stockable>{
	
	private BrandDTOService brandService;
	
	public List<Stockable> searchAccessories(String accessoryType){
		return ((StockableHome) this.getHome()).searchAccessories(accessoryType);
	}

	public List<Stockable> searchTires(String string) {
		return ((StockableHome) this.getHome()).searchTires(string);
	}
	
	public BrandDTOService getBrandService() {
		return brandService;
	}

	public void setBrandService(BrandDTOService brandService) {
		this.brandService = brandService;
	}




}
